package com.bestcem.xm.openplatform.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bestcem.xm.component.mybatis.base.BaseEntity2;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName(value = "ds_openplatform_apicallrate")
public class OpenplatformApicallrate extends BaseEntity2 {
    @TableId(value = "id")
    private String id;

    /**
     * 租户id
     */
    @TableField(value = "org_id")
    private String orgId;

    /**
     * api id
     */
    @TableField(value = "api_id")
    private String apiId;

    /**
     * api路径
     */
    @TableField(value = "api_path")
    private String apiPath;

    /**
     * 请求量
     */
    @TableField(value = "rate")
    private Integer rate;

    /**
     * 单位时间 /秒
     */
    @TableField(value = "durian")
    private Integer durian;
}